package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * tyre 用户轮胎信息对象 luntai_user_tyre
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
public class LuntaiUserTyre extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 车辆id */
    @Excel(name = "车辆id")
    private Integer carId;

    /** 条形码 */
    @Excel(name = "条形码")
    private String code;

    /** 轮胎位置  0未知 1左前 2右前 3左后 4右后 5备胎 */
    @Excel(name = "轮胎位置  0未知 1左前 2右前 3左后 4右后 5备胎")
    private Integer position;

    /** 尺寸名 */
    @Excel(name = "尺寸名")
    private String size;

    /** 尺寸图片 */
    @Excel(name = "尺寸图片")
    private String sizeImg;

    /** 花纹名称 */
    @Excel(name = "花纹名称")
    private String patten;

    /** 花纹图片 */
    @Excel(name = "花纹图片")
    private String pattenImg;

    /** 规格图名称 */
    @Excel(name = "规格图名称")
    private String specification;

    /** 规格图片 */
    @Excel(name = "规格图片")
    private String specificationImg;

    /** 安装时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installationTime;

    /** DOT图名称 */
    @Excel(name = "DOT图名称")
    private String dot;

    /** DOT图 */
    @Excel(name = "DOT图")
    private String dotImg;

    /** 状态 1启用 2维修中 3报废 */
    @Excel(name = "状态 1启用 2维修中 3报废")
    private Integer status;

    /** 是否删除 0否1是 */
    @Excel(name = "是否删除 0否1是")
    private Integer isdelete;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setCarId(Integer carId) 
    {
        this.carId = carId;
    }

    public Integer getCarId() 
    {
        return carId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setPosition(Integer position) 
    {
        this.position = position;
    }

    public Integer getPosition() 
    {
        return position;
    }
    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }
    public void setSizeImg(String sizeImg) 
    {
        this.sizeImg = sizeImg;
    }

    public String getSizeImg() 
    {
        return sizeImg;
    }
    public void setPatten(String patten) 
    {
        this.patten = patten;
    }

    public String getPatten() 
    {
        return patten;
    }
    public void setPattenImg(String pattenImg) 
    {
        this.pattenImg = pattenImg;
    }

    public String getPattenImg() 
    {
        return pattenImg;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setSpecificationImg(String specificationImg) 
    {
        this.specificationImg = specificationImg;
    }

    public String getSpecificationImg() 
    {
        return specificationImg;
    }
    public void setInstallationTime(Date installationTime) 
    {
        this.installationTime = installationTime;
    }

    public Date getInstallationTime() 
    {
        return installationTime;
    }
    public void setDot(String dot) 
    {
        this.dot = dot;
    }

    public String getDot() 
    {
        return dot;
    }
    public void setDotImg(String dotImg) 
    {
        this.dotImg = dotImg;
    }

    public String getDotImg() 
    {
        return dotImg;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsdelete(Integer isdelete) 
    {
        this.isdelete = isdelete;
    }

    public Integer getIsdelete() 
    {
        return isdelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("carId", getCarId())
            .append("code", getCode())
            .append("position", getPosition())
            .append("size", getSize())
            .append("sizeImg", getSizeImg())
            .append("patten", getPatten())
            .append("pattenImg", getPattenImg())
            .append("specification", getSpecification())
            .append("specificationImg", getSpecificationImg())
            .append("installationTime", getInstallationTime())
            .append("dot", getDot())
            .append("dotImg", getDotImg())
            .append("status", getStatus())
            .append("isdelete", getIsdelete())
            .toString();
    }
}
